import {proxy} from "valtio";

const account = proxy({
    userinfo: {},
    token: '',
    updateToken: (token) => {
        state.token = token;
    },
    updateUserinfo: (userinfo) => {
        state.userinfo = userinfo;
    },
})

export default account;